<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Course_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-course_id" data-rule="required" data-source="course/index" class="form-control selectpage" name="row[course_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Question_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-question_ids" data-rule="required" data-source="question/index" data-multiple="true" class="form-control selectpage" name="row[question_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Right_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-right_ids" data-rule="required" data-source="right/index" data-multiple="true" class="form-control selectpage" name="row[right_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Empty_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-empty_ids" data-rule="required" data-source="empty/index" data-multiple="true" class="form-control selectpage" name="row[empty_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Error_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-error_ids" data-rule="required" data-source="error/index" data-multiple="true" class="form-control selectpage" name="row[error_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_count" data-rule="required" class="form-control" name="row[total_count]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Right_count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-right_count" data-rule="required" class="form-control" name="row[right_count]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Error_count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-error_count" data-rule="required" class="form-control" name="row[error_count]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Empty_count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-empty_count" data-rule="required" class="form-control" name="row[empty_count]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('All_question_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-all_question_ids" data-rule="required" data-source="all/question/index" data-multiple="true" class="form-control selectpage" name="row[all_question_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
